home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / X11 / XCreateWindowEvent.z / XCreateWindowEvent
Encoding:
Text File  |  1998-10-30  |  4.8 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXCCCCrrrreeeeaaaatttteeeeWWWWiiiinnnnddddoooowwwwEEEEvvvveeeennnntttt((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))XXXXCCCCrrrreeeeaaaatttteeeeWWWWiiiinnnnddddoooowwwwEEEEvvvveeeennnntttt((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XCreateWindowEvent - CreateNotify event structure
  10.  
  11.      SSSSTTTTRRRRUUUUCCCCTTTTUUUURRRREEEESSSS
  12.           The structure for _C_r_e_a_t_e_N_o_t_i_f_y events contains:
  13.  
  14.           typedef struct {
  15.                int type;                /* CreateNotify */
  16.                unsigned long serial;    /* # of last request processed by server */
  17.                Bool send_event;         /* true if this came from a SendEvent request */
  18.                Display *display;        /* Display the event was read from */
  19.                Window parent;           /* parent of the window */
  20.                Window window;           /* window id of window created */
  21.                int x, y;                /* window location */
  22.                int width, height;       /* size of window */
  23.                int border_width;        /* border width */
  24.                Bool override_redirect;  /* creation should be overridden */
  25.           } XCreateWindowEvent;
  26.  
  27.           When you receive this event, the structure members are set
  28.           as follows.
  29.  
  30.           The type member is set to the event type constant name that
  31.           uniquely identifies it.  For example, when the X server
  32.           reports a _G_r_a_p_h_i_c_s_E_x_p_o_s_e event to a client application, it
  33.           sends an _X_G_r_a_p_h_i_c_s_E_x_p_o_s_e_E_v_e_n_t structure with the type member
  34.           set to _G_r_a_p_h_i_c_s_E_x_p_o_s_e.  The display member is set to a
  35.           pointer to the display the event was read on.  The
  36.           send_event member is set to _T_r_u_e if the event came from a
  37.           _S_e_n_d_E_v_e_n_t protocol request.  The serial member is set from
  38.           the serial number reported in the protocol but expanded from
  39.           the 16-bit least-significant bits to a full 32-bit value.
  40.           The window member is set to the window that is most useful
  41.           to toolkit dispatchers.
  42.  
  43.           The parent member is set to the created window's parent.
  44.           The window member specifies the created window.  The x and y
  45.           members are set to the created window's coordinates relative
  46.           to the parent window's origin and indicate the position of
  47.           the upper-left outside corner of the created window.  The
  48.           width and height members are set to the inside size of the
  49.           created window (not including the border) and are always
  50.           nonzero.  The border_width member is set to the width of the
  51.           created window's border, in pixels.  The override_redirect
  52.           member is set to the override-redirect attribute of the
  53.           window.  Window manager clients normally should ignore this
  54.           window if the override_redirect member is _T_r_u_e.
  55.  
  56.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  57.           XAnyEvent(3X11), XButtonEvent(3X11), XCirculateEvent(3X11),
  58.           XCirculateRequestEvent(3X11), XColormapEvent(3X11),
  59.           XConfigureEvent(3X11), XConfigureRequestEvent(3X11),
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXCCCCrrrreeeeaaaatttteeeeWWWWiiiinnnnddddoooowwwwEEEEvvvveeeennnntttt((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))XXXXCCCCrrrreeeeaaaatttteeeeWWWWiiiinnnnddddoooowwwwEEEEvvvveeeennnntttt((((3333XXXX11111111))))
  71.  
  72.  
  73.  
  74.           XCrossingEvent(3X11), XDestroyWindowEvent(3X11),
  75.           XErrorEvent(3X11), XExposeEvent(3X11),
  76.           XFocusChangeEvent(3X11), XGraphicsExposeEvent(3X11),
  77.           XGravityEvent(3X11), XKeymapEvent(3X11), XMapEvent(3X11),
  78.           XMapRequestEvent(3X11), XPropertyEvent(3X11),
  79.           XReparentEvent(3X11), XResizeRequestEvent(3X11),
  80.           XSelectionClearEvent(3X11), XSelectionEvent(3X11),
  81.           XSelectionRequestEvent(3X11), XUnmapEvent(3X11),
  82.           XVisibilityEvent(3X11)
  83.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 4/30/98)
  130.  
  131.  
  132.  
  133.